package com.zhongwang.mms.module.buy.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.NumberFormat;
import com.zhongwang.mms.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description: 提报计划 Model
 * @Author: China.sgl
 * @Date: 2020/4/7 15:46
 */
@SuppressWarnings("ALL")
@Data
@EqualsAndHashCode(callSuper = true)
public class ExportReportPlanModel extends BaseModel {

    /** 主键 */
    @ExcelProperty(value = "ID",index = 0)
    @NumberFormat("#")
    private Integer rppId;

    /** 提报计划员（物控员） */
    @ExcelProperty(value = "计划员",index = 1)
    @NumberFormat("#")
    private String rppPlanner;

    /** 物料描述 */
    @ExcelProperty(value = "物料描述",index = 2)
    @NumberFormat("#")
    private String rppMatDesc;

    /** 数量 */
    @ExcelProperty(value = "数量",index = 3)
    @NumberFormat("#.##")
    private Double rppNum;

    /** 实用数量 */
    @ExcelProperty(value = "实用数量",index = 4)
    @NumberFormat("#.##")
    private Double rppRealNum;

    /** 余量 */
    @ExcelProperty(value = "余量",index = 5)
    @NumberFormat("#.##")
    private Double rppOverNum;

    /** 单位 */
    @ExcelProperty(value = "单位",index = 6)
    @NumberFormat("#")
    private String rppUnit;

    /** 标准号 */
    @ExcelProperty(value = "标准号",index = 7)
    @NumberFormat("#")
    private String rppStandardNo;

    /** 分类名称 */
    @ExcelProperty(value = "分类",index = 8)
    @NumberFormat("#")
    private String rppTypes;

    /** 品牌 */
    @ExcelProperty(value = "品牌",index = 9)
    @NumberFormat("#")
    private String rppBrand;

    /** 备注 */
    @ExcelProperty(value = "备注",index = 10)
    @NumberFormat("#")
    private String rppRemark;

    /** 项目编号 */
    @ExcelProperty(value = "项目编号",index = 11)
    @NumberFormat("#")
    private String rppProjectCode;

    /** 项目名称 */
    @ExcelProperty(value = "项目名称",index = 12)
    @NumberFormat("#")
    private String rppProjectName;

    /** 计划号 */
    @ExcelProperty(value = "计划号",index = 13)
    @NumberFormat("#")
    private String rppPlanNo;

    /** 提报状态 导入的时候转成状态位 */
    @ExcelProperty(value = "提报状态",index = 14)
    @NumberFormat("#")
    private String rppReportStatus;

    /** 是否补计划，导入的时候转成状态位 */
    @ExcelProperty(value = "是否补计划",index = 15)
    @NumberFormat("#")
    private String rppAppendStr;

    /** 生产编号 */
    @ExcelProperty(value = "生产编号",index = 16)
    private String rppProduceCode;

    @ExcelIgnore
    private Integer rppAppend;
    @ExcelIgnore
    private Integer rppUseStock;

}
